package com.ticket.sass.admin.business;


import com.ticket.sass.admin.dto.input.coupons.code.CouponCodeBatchListInput;
import com.ticket.sass.admin.dto.input.coupons.code.CouponCodeListInput;
import com.ticket.sass.admin.dto.input.coupons.code.CouponGenerateInput;
import com.ticket.sass.admin.dto.output.coupons.code.CouponCodeBatchListOutput;
import com.ticket.sass.admin.dto.output.coupons.code.CouponCodeListOutput;
import com.ticket.sass.admin.model.PageModel;

/**
 * @author ywb
 * @date 2021-11-15 15:43
 */
public interface CouponCodeBusiness {

    PageModel<CouponCodeListOutput> list(Long couponId, CouponCodeListInput input);
    
    PageModel<CouponCodeBatchListOutput> batchList(Long id, CouponCodeBatchListInput input);
    
    void generate(Long id, CouponGenerateInput input);
    
    String exportToken();
    
    Boolean existExportToken(String token);
    
    void delExportToken(String token);
}
